| ProgramSocCode |
| EntityType | Independent |
| Logical Entity Name | ProgramSocCode |
| Default Table Name | AdProgramToSOCRelationship |
| Logical Only | NO |
| Definition | |
| Note |
| ProgramSocCode Attributes |
| Attribute/Logical Rolename | Domain | Datatype | NULL | Definition |
Id |
INTEGER | NO | ||
ProgramId |
INTEGER | NO | ||
SOCCode |
VARCHAR(7) | NO | ||
| IsGainfulEmploymentDefault | BIT | NO | ||
| CreatedDateTime | DATETIME | NO | ||
| LastModifiedDateTime | DATETIME | NO | ||
LastModifiedUserId |
INTEGER | NO | ||
| RowVersion | TIMESTAMP/DATE | NO | ||
ProgramId |
INTEGER | YES |
| ProgramSocCode Keys |
| Key Name | Key Type | Keys |
| PK_AdProgramToSOCRelationship_AdProgramToSOCRelationshipID | PrimaryKey | Id |
| UK_AdProgramToSOCRelationship_SOCCode_AdProgramId | Unique Constraint | SOCCode, ProgramId |
| NK_AdProgramToSOCRelationship_SOCCode | Inversion Entry | SOCCode |
| NK_AdProgramToSOCRelationship_AdProgramId | Inversion Entry | ProgramId |
| ProgramSocCode Relationships |
| Parent Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype |
| Program | Non-Identifying | One To Zero or More | ProgramId | NO | |||
| SocCode | Non-Identifying | One To Zero or More | SOCCode | NO | |||
| Staff | Non-Identifying | One To Zero or More | LastModifiedUserId | NO | |||
| Program | Non-Identifying | Zero or One to Zero or More | ProgramId | NO |
| Child Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype |
| ProgramSocCode Check Constraints |
| Check Constraint Name | CheckConstraint |